//  * clear(): void;
//     /**
//      * @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
//      */
//     delete(key: K): boolean;
//     /**
//      * Executes a provided function once per each key/value pair in the Map, in insertion order.
//      */
//     forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
//     /**
//      * Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
//      * @returns Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
//      */
//     get(key: K): V | undefined;
//     /**
//      * @returns boolean indicating whether an element with the specified key exists or not.
//      */
//     has(key: K): boolean;
//     /**
//      * Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
//      */
//     set(key: K, value: V): this;
//     /**
//      * @returns the number of elements in the Map.
//      */
//     readonly size: number;



let  map = new Map();

// map.set(key ,value);

map.set("230001",{ name:'张三',age:18})
map.set("230002",{ name:'李四',age:18})

console.log("map.size",map.size);
console.log("map",map);

console.log("map.get('230001') : ",map.get('230001'));




// /**
//      * Appends a new element with a specified value to the end of the Set.
//      */
//     add(value: T): this;

//     clear(): void;
//     /**
//      * Removes a specified value from the Set.
//      * @returns Returns true if an element in the Set existed and has been removed, or false if the element does not exist.
//      */
//     delete(value: T): boolean;
//     /**
//      * Executes a provided function once per each value in the Set object, in insertion order.
//      */
//     forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;
//     /**
//      * @returns a boolean indicating whether an element with the specified value exists in the Set or not.
//      */
//     has(value: T): boolean;
//     /**
//      * @returns the number of (unique) elements in Set.
//      */
//     readonly size: number;

let myset = new Set();

myset.add(100)
myset.add(200)
myset.add(300)
myset.add(400)
myset.add(100)
myset.add(200)

console.log("myset.size : ",myset.size);



